/** @format */

import React, {Component} from 'react';
import {AppRegistry, YellowBox} from 'react-native';
import App from './App';
import {name as appName} from './app.json';
import {getStore} from "./src/configuration/StoreConfiguration"
import {Provider} from "react-redux"

const store = getStore();

class PalmarHotel extends Component {

  componentDidMount(): void {
    YellowBox.ignoreWarnings([
      'Require cycle:',
    ]);
  }

  render() {
    return (
      <Provider store={store}>
        <App/>
      </Provider>
    );
  }
}

AppRegistry.registerComponent(appName, () => PalmarHotel);
